package com.xqboss.apps.dto.hama;

import cn.hutool.core.annotation.Alias;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 运动场投装备配置
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="WebHamaMixConfigDto2", description="运动场投装备配置")
public class WebHamaMixConfigDto2 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "藏品ID")
    @NotNull(message = "藏品ID不能为空~")
    private Long nftId;

    @ApiModelProperty(value = "蛙星人数量")
    @NotNull(message = "蛙星人数量不能为空~")
    @Min(value = 1,message = "蛙星人数量必须大于等于1")
    @JsonProperty("waNumber")
    private Integer sportMix;

    @ApiModelProperty(value = "空投天数")
    @NotNull(message = "空投天数不能为空~")
    @Min(value = 1,message = "空投天数必须大于等于1")
    private Integer hireDays;

    @ApiModelProperty(value = "使用上限（件）")
    @NotNull(message = "使用上限不能为空~")
    @Min(value = 1,message = "使用上限必须大于等于1")
    private Integer toplimit;
}
